import {asideData} from "./test"
import {MenuItem} from "../../viewModel/aside"

// 获取菜单数据
export const getAsideData = (): Promise<MenuItem[]> => {
    return new Promise((resolve,reject) => {
        let flag = true
        if (flag) {
            resolve(asideData as MenuItem[])
        }else {
            reject()
        }
    })
}